﻿@model IEnumerable<verk2013_project_group12.Models.NewsItem>
@{
    ViewBag.Title = "Home page";
}
@section featured {
    <section class="featured">
        <div>
                <a href="@Url.Action("Lobby", "Games", new { id= "" })"><img src="@Url.Content("~/Images/homebanner.png")", alt="Start-playing" id="homebanner" /></a>"
        </div>
    </section>
}


@foreach (var news in Model) 
{
   <div class="newsblock">
       <h3> @news.Title </h3>
       <p class="newsBox"> @news.Content</p>
   </div>
}
